[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BYE
Function
Log the user off as though they had typed the BYE command.
Syntax
BYE No arguments are required
Remarks
There are multiple ways for the user to log off. One is by typing G at
the command prompt. That will warn them if they have files flagged for
download and (optionally) confirm their selection (incase they
accidentally hit G and ENTER). Another is the BYE command. PCBoard
assumes that, if the user typed BYE instead of G, that they really want
to log off, didn't type it in accidentally, and want to leave now. The
BYE statement does just that. It is intended to provide your PPL with the
same functionality as many PCBoard prompts where G or BYE can be
entered at any point.
Examples
STRING s
INPUT "What do you want to do",s
IF (s = "G") THEN GOODBYE
ELSEIF (s = "BYE") THEN BYE
ELSE KBDSTUFF s
ENDIF
See Also:
GOODBYE
HANGUP
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson